<!-- USE THEIR CONFLICT -->
<?php get_header(); ?>

<?php if (have_posts()) : ?>

	<h2>Search Results</h2>

	<div class="navigation">
		<div><?php next_posts_link('&laquo; Older Entries') ?></div>
		<div><?php previous_posts_link('Newer Entries &raquo;') ?></div>
	</div>

	<?php $i = 0; $j = 0;?>
	<?php if (have_posts()) : while (have_posts()) : the_post(); if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); $i++; ?>
	<div class="span-8 article post-<?php the_ID(); ?><?php if ($i == 3) { ?> last<?php  } ?>">
	<?php get_the_image( array( 'custom_key' => array( 'thumbnail' ), 'default_size' => 'thumbnail', 'width' => '296', 'height' => '166' ) ); ?>
	<h6 class="archive-header"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title() ?></a></h6>
	<!-- moved images from here to above headline -->
	<p class="postmetadata">By <?php coauthors_posts_links(); ?> | <?php the_time( get_option( 'date_format' ) ); ?>
	</p>
	<?php the_excerpt(); ?>
	</div>
	<!-- change 0 to 1 to put the widgets back in-->
	<?php
		if ( is_home() && $paged < 0 ) {
			if ($i == 3 && $j < 1) { ?><div class="archive-stack clear"></div><?php $i = 0; $j++; } 
				elseif ($i == 2 && $j == 1) { ?><div class="column span-7 last">
					<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Left') ) : ?>
					<?php endif; ?>
				</div><div class="archive-stack clear"></div><?php $i = 0; $j++; } 
				elseif ($i == 2 && $j == 2) { ?><div class="column span-7 last">
					<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right') ) : ?>
					<?php endif; ?>
				</div><div class="archive-stack clear"></div><?php $i = 0; $j++; } 
				elseif ($i == 2 && $j == 3) { ?><div class="column span-7 last">
					<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Middle') ) : ?>
					<?php endif; ?>
				</div><div class="archive-stack clear"></div><?php $i = 0; $j++; }
		} else { 
		    if ($i == 3) { ?><div class="archive-stack clear"></div><?php $i = 0;}
		}
	?>
	<?php endwhile; endif; ?>

<div class="clear"></div>

	<div class="navigation">
		<div><?php next_posts_link('&laquo; Older Entries') ?></div>
		<div><?php previous_posts_link('Newer Entries &raquo;') ?></div>
	</div>

<?php else : ?>

	<h2>No posts found. Try a different search?</h2>

<?php endif; ?>
<?php get_footer(); ?>